package com.monkeyboy.spring.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Priority;
import javax.annotation.Resource;

/**
 * @Author Gavin
 * @date 2021.02.19 16:17
 */
@Component
//@Priority(99)
public class B implements I{
	@Override
	public void say() {
		System.out.println("bbbbbbbbbbbbbbbbbbbbbbbbbbbb");
	}
//	private A a;
//
//	private void setA(A a) {
//		this.a = a;
//	}
}


